package com.frank.circle.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/** 敏感词表
 * @author Frank Zou
 * @version v0.0.1
 * @date 2025/10/15
 * @description
 */
@Data
@TableName(value = "sensitive_words")
public class SensitiveWords implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 内容
     */
    @TableField(value = "words")
    private String words;

    /**
     * 1=黑名单 2=白名单
     */
    @TableField(value = "`type`")
    private Integer type;

    /**
     * 是否被删除 0为删除 1已删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;
}